package com.molichuxing.services.infrastructure.bean;

import com.molichuxing.framework.bean.RootBean;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 * 商品规格表
 * </p>
 *
 * @author xuelin yi
 * @since 2019-08-12
 */
public class GoodsSpecBean extends RootBean {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 商品id
     */
    private Integer goodsId;

    /**
     * 规格id
     */
    private Integer specsId;

    /**
     * 规格值
     */
    private String specsValue;

    /**
     * 创建时间
     */
    private LocalDateTime gmtCreate;

    /**
     * 更新时间
     */
    private LocalDateTime gmtModified;

    @Override
    public Integer getId() {
        return id;
    }

    @Override
    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getSpecsId() {
        return specsId;
    }

    public void setSpecsId(Integer specsId) {
        this.specsId = specsId;
    }

    public String getSpecsValue() {
        return specsValue;
    }

    public void setSpecsValue(String specsValue) {
        this.specsValue = specsValue;
    }

    @Override
    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    @Override
    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    @Override
    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    @Override
    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }
}
